//
// Created by 28365 on 2025/3/13.
//

#ifndef ODUPDATERSDK_VALUEDATA_H
#define ODUPDATERSDK_VALUEDATA_H

#include <string>
#include <nlohmann/json.hpp>
#include "../include/utils/SerializeJson.h"

using namespace std;

class ValueData : public SerializeJson{

public:
    ValueData();

    string value;

    explicit ValueData(string value);

    [[nodiscard]] const string &getValue() const;

    void setValue(const string &value);

    void formJson(const nlohmann::json &j, SerializeJson &data) override;
};

#endif //ODUPDATERSDK_VALUEDATA_H
